package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.domain.Permission;

import java.util.List;
import java.util.Set;

public interface PermissionDao {

    Set<Permission> findById(Integer id);

    List<Permission> findAll();

    void add(Permission permission);

    Page<Permission> findCondition(String queryString);
}
